package br.com.intelsys.entityutil.entity.dic.locale;

import java.util.Set;

public class CountryHiber implements Country {

	private int codCountry;
	private String name;
	private String acronym;
	private Set<State> stateSet;

	public void setCodCountry(int codCountry) {
		this.codCountry = codCountry;
	}

	public int getCodCountry() {
		return (this.codCountry);
	}

	public String getName() {
		return (this.name);
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAcronym() {
		return (this.acronym);
	}

	public void setAcronym(String acronym) {
		this.acronym = acronym;
	}

	public Set<State> getStateSet() {
		return this.stateSet;
	}

	public void setStateSet(Set<State> stateSet) {
		this.stateSet = stateSet;
	}

	public String getAddr() {
		return getAcronym() != null ? getAcronym().toLowerCase() : null;
	}

	@Override
	public String toString() {
		return "CountryHiber [getAcronym()=" + getAcronym() + ", getCodCountry()=" + getCodCountry() + ", getName()=" + getName() + "]";
	}

}